package com.guxingke.typecho4j;

import com.guxingke.typecho4j.route.Routes;

/**
 * typecho4j的配置类
 * 
 * @author guxingke
 *
 */
public class Typecho4jConfig {

	private static final Constants constants = new Constants();
	private static final Routes routes = new Routes();

	public Constants getConstants() {
		return constants;
	}

	public Routes getRoutes() {
		return routes;
	}

	static void configTypecho4j(Typecho4jConfig config) {
		config.configConstant(constants);
		config.configRoute(routes);
	}

	protected void configRoute(Routes routes) {
		// TODO Auto-generated method stub
	}

	protected void configConstant(Constants constants) {
		constants.add("com.guxingke.typecho4j.widget.handle");
		constants.add("com.guxingke.typecho4j.widget.layout");
		constants.add("com.guxingke.typecho4j.widget.provider");
		constants.add("com.guxingke.typecho4j.widget.dispatcher");
	}
}
